﻿using Android.App;
using Android.Content;
using Android.OS;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using nhCore.Modbus;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using static Android.Graphics.Paint;

namespace nhCore
{
    /// <summary>
    /// 传感器设备，无历史数据
    /// </summary>
    public class SensorDevice : BaseDevice
    {
        /// <summary>
        /// 自动根据Configs加解码器，根据设备类型加时间解码器
        /// </summary>
        internal override void AuotAddDecoder()
        {
            base.AuotAddDecoder();
            Decoders.Add(new Modbus.CgqTimeDecoder());
        }
    }
}